# $Id: PKGBUILD 65009 2012-02-19 19:48:16Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor : XAVeRY - los dot danielos at gmail dot com

pkgname=lsscsi
pkgver=0.26
pkgrel=1
pkgdesc='A tool that lists devices connected via SCSI and its transports'
arch=('i686' 'x86_64')
url="http://sg.danny.cz/scsi/lsscsi.html"
license=('GPL')
depends=('sysfsutils')
source=("http://sg.danny.cz/scsi/${pkgname}-${pkgver}.tgz")
md5sums=('624d705899ed08e872e164679ac56545')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}

# vim:set ts=2 sw=2 ft=sh et:
